package com.atguigu.gmall.model.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author fxz
 */
@Data
public class BaseEntity implements Serializable {

	@ApiModelProperty(value = "id")
	@TableId(type = IdType.AUTO)
	private Long id;

}
